﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using WMSADL.SY;
using WMSAML.SY;
using WMSAML.Warehouse;

namespace WMSABL.SY
{
    public class PD_PickingMap_BLL
    {
        PD_PickingMapDAL dal = new PD_PickingMapDAL();
        public PD_PickingMapEntity Getentity(string pickNO, string UserName)
        {
            return dal.Getentity(pickNO, UserName);
        }
        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(PD_PickingMapEntity entity)
        {
            return dal.Add(entity);
        }
        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(string PickNO, string UserCode)
        {
            return dal.Delete(PickNO, UserCode);
        }
        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool Update(PD_PickingMapEntity entity)
        {
            return dal.Update(entity);

        }

    }
}
